package com.ruoyi.academic.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生学业信息对象 student_academic_info
 * 
 * @author dongyv
 * @date 2025-05-15
 */
public class StudentAcademicInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long serialNumber;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生院系 */
    @Excel(name = "学生院系")
    private String department;

    /** 学生专业 */
    @Excel(name = "学生专业")
    private String major;

    /** 学生班级 */
    @Excel(name = "学生班级")
    private String className;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 平时成绩 */
    @Excel(name = "平时成绩")
    private BigDecimal usualGrade;

    /** 期中成绩 */
    @Excel(name = "期中成绩")
    private BigDecimal midtermGrade;

    /** 期末成绩 */
    @Excel(name = "期末成绩")
    private BigDecimal finalGrade;

    /** 绩点 */
    @Excel(name = "绩点")
    private BigDecimal gradePoint;

    /** 学年 */
    @Excel(name = "学年")
    private String academicYear;

    /** 学期 */
    @Excel(name = "学期")
    private String semester;

    /** 学分 */
    @Excel(name = "学分")
    private BigDecimal credits;

    public void setSerialNumber(Long serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber() 
    {
        return serialNumber;
    }

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }

    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }

    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }

    public void setUsualGrade(BigDecimal usualGrade) 
    {
        this.usualGrade = usualGrade;
    }

    public BigDecimal getUsualGrade() 
    {
        return usualGrade;
    }

    public void setMidtermGrade(BigDecimal midtermGrade) 
    {
        this.midtermGrade = midtermGrade;
    }

    public BigDecimal getMidtermGrade() 
    {
        return midtermGrade;
    }

    public void setFinalGrade(BigDecimal finalGrade) 
    {
        this.finalGrade = finalGrade;
    }

    public BigDecimal getFinalGrade() 
    {
        return finalGrade;
    }

    public void setGradePoint(BigDecimal gradePoint) 
    {
        this.gradePoint = gradePoint;
    }

    public BigDecimal getGradePoint() 
    {
        return gradePoint;
    }

    public void setAcademicYear(String academicYear) 
    {
        this.academicYear = academicYear;
    }

    public String getAcademicYear() 
    {
        return academicYear;
    }

    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }

    public void setCredits(BigDecimal credits) 
    {
        this.credits = credits;
    }

    public BigDecimal getCredits() 
    {
        return credits;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serialNumber", getSerialNumber())
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("department", getDepartment())
            .append("major", getMajor())
            .append("className", getClassName())
            .append("courseName", getCourseName())
            .append("usualGrade", getUsualGrade())
            .append("midtermGrade", getMidtermGrade())
            .append("finalGrade", getFinalGrade())
            .append("gradePoint", getGradePoint())
            .append("academicYear", getAcademicYear())
            .append("semester", getSemester())
            .append("credits", getCredits())
            .toString();
    }
}
